package jmu.cze.service;

import jmu.cze.vo.Person;

import java.sql.SQLException;
import java.util.List;

public interface PersonService {
    Person signIn(String id, String password, int type);
    boolean signUp(Person person) throws SQLException;
    boolean modify(Person person);
    boolean destroy(String personID);
    Person findByID(String personID);
    List<Person> findAll(int page, int limit);
    List<Person> search(String keyword);
    int countAll();
}
